Consistency Checking by Type Inference and Constraint Satisfaction

نویسنده

  • Yahia LEBBAH
چکیده

This paper presents a method for checking the consistency of equations involving physical units, by applying techniques similar to type inference in programming languages over a formal speciication of the system to check. The checking is performed by a physical units inference system relying both on the algebraic structure of the international physical units system and a formal notation we designed to express the equations. The inference system is a three steps process: rst, variables are assigned to the various expressions of the system; second, a set of equations representing the constraints of the international units system involving these variables is constructed. Finally, this set of equations is handled by a speciic algorithm , which decides if the original system is consistent, and computes the physical units in a polymorphic way. We show that specializing the traditional type inference algorithms to the particular structure of the international units system boils down to solving classical linear systems symbolically.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Type inference in systems of recursive types with subtyping

We present general methods for performing type inference and deciding subtyping in languages with recursive types. Our type inference algorithm generalizes a common idea of previous work: type inference is reduced to a constraint satisfaction problem, whose satisfiability can be decided by a process of closure and consistency checking. We prove a general correctness theorem for this style of ty...

متن کامل

Using Constraint Metaknowledge to Reduce Arc Consistency Computation

Constraint satisfaction problems are widely used in artiicial intelligence. They involve nding values for problem variables subject to constraints that specify which combinations of values are consistent. Knowledge about properties of the constraints can permit inferences that reduce the cost of consistency checking. In particular, such inferences can be used to reduce the number of constraint ...

متن کامل

A Theoretical Framework for Consistency Techniques in Logic Programming

While being a powerful paradigm for solving Constraint Satisfaction Problems (CSPs), Consistency Techniques (CTs) have never been taken into account during the design of declarative programming languages. This paper defines a theoretical framework for using CTs inside logic programming. Three inference rules are introduced and their formal properties are investigated. Also, computation rules ar...

متن کامل

Detecting Unsatisfiable CSPs by Coloring the Micro-Structure

Constraint satisfaction research has focussed on consistency checking using k-consistency and its variations such as arc-consistency, and path-consistency. We define a new form of consistency checking that is based on coloring the micro-structure graph of a constraint satisfaction problem (CSP). In our formulation, if the micro-structure graph of a CSP with n variables can be colored with n − 1...

متن کامل

Probabilistic Consistency Boosts MAC and SAC

Constraint Satisfaction Problems (CSPs) are ubiquitous in Artificial Intelligence. The backtrack algorithms that maintain some local consistency during search have become the de facto standard to solve CSPs. Maintaining higher levels of consistency, generally, reduces the search effort. However, due to ineffective constraint propagation, it often penalises the search algorithm in terms of time....

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2008